DX11 SET DEPTH TEST ENABLED

Sets whether to use depth testing when rendering meshes using the given depth stencil state.

  Syntax
DX11 SET DEPTH TEST ENABLED depthStencilState, enable
  Parameters
depthStencilState
Dword
The depth stencil state to set whether to use depth testing when rendering with.
enable
Boolean
Set to true to enable depth testing or false to disable it.

  Returns

This function does not return a value.

  See also

DEPTHSTENCILSTATE Functions Menu
DX11 Function Categories